package top.kaoshanji.p4ch24b;

/**
 * 代码清单-p4ch24b-292页b：备忘录
 * @author kaoshanji
 * ^_^
 * create time 2025/3/26 21:01
 */
public class Memento {

    // 男孩的状态
    private String state = "";

    public Memento(String state) {
        this.state = state;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }
}
